package com.mk.mapper;

import com.mk.base.mapper.BaseMapper;
import com.mk.model.entity.Dir;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: yq
 * @Description:
 * @Date: Created in 9:55 AM 3/15/18
 */
@Repository
@Mapper
public interface DirMapper extends BaseMapper<Dir> {

    List<Dir> findByParentAndTitle(@Param("parent") Long parent,@Param("title") String title,@Param("isDeleted") Integer able);
}
